export default {
    namespaced: true,
    state: {
        // 评论数量
        commentCount: null,
        // 回复评论输入框发送按钮是否loading
        replyBtnLoading: false
    },
    mutations: {
        changeCommentCount(state, val) {
            // 取反
            state.commentCount = val
        },
        changeReplyBtnLoading(state) {
            state.replyBtnLoading = !state.replyBtnLoading
        }
    }
}